import mongoose from 'mongoose'
// 生成Schema模型
const Schema = mongoose.Schema
const informSchema = new Schema({
  tower: {
    type: String
  },
  name: {
    type: String
  },
  studentNum: {
    type: String
  },
  inform: {
    type: String
  },
  // come back late time 晚归时间
  time: {
    type: Date,
    default: Date.now
  }
})

export default mongoose.model('inform', informSchema, 'inform')
